from matplotlib import pyplot as plt


def plot_bar_chart():
    plt.rcParams['font.sans-serif'] = ['SimHei']
    plt.rcParams['toolbar'] = 'None'
    game_types = ['FPS', 'RPG', 'Strategy', 'Sports', 'Simulation']
    sales = [15000000, 8000000, 5000000, 12000000, 3000000]

    plt.bar(game_types, sales)

    plt.show()


if __name__ == '__main__':
    plot_bar_chart()
